from pydantic import BaseSettings


class Settings(BaseSettings):
    HOST: str = 'sh-cdb-k4k80j2k.sql.tencentcdb.com'
    PORT: int = 63742
    DATABASE: str = 'testcenter'
    USER: str = 'root'
    PASSWORD: str = 'admin@12345'

    class Config:
        env_prefix = 'DB_'
        env_file = ".env"


settings = Settings()
